CleantalkSP\Common\Scanner\HeuristicAnalyser\Vendors\TiktokenPhp\src\Encoder A

Total Complexity 64
Dependencies 1
Dependents 1
Total lines 291
Lines of code 200
Logical lines of code 138
Comment lines 25
Methods 9
Properties 5

Methods 9

Method Rating Maintainability Complexity Lines of code
bpe()
B
39 18 64
characterToUnicode()
A
50 13 25
encode()
A
49 10 29
initialize()
A
46 9 39
buildBpeRanks()
S
59 4 15
buildSymbolPairs()
S
63 3 11
filterEmpty()
S
78 3 3
mb_str_split_compat()
S
69 2 6
indexOf()
S
66 2 8